.wrap {
    width: 500px;
    height: 600px;
    margin: 100px auto;
    border: 1px solid #000;
    border-radius: 5px;
    overflow: hidden;
}

.list-hd {
    position: relative;
    height: 41px;
    text-align: center;
    line-height: 41px;
    color: #fff;
    background-color: #000;
}

.list-hd .icon-jia {
    position: absolute;
    top: 0;
    right: 10px;
    color: #fff;
}

.input-wrap {
    display: none;
    width: 100%;
    height: 40px;
    padding: 8px 10px;
    border: 1px solid #ccc;
}

.input-wrap .input-bd {
    float: left;
    width: 380px;
    height: 24px;
}

.input-wrap .input-bd input {
    display: block;
    width: 100%;
    height: 100%;
    border: 1px solid #ccc;
}

.input-wrap .btn-bd {
    float: right;
    width: 80px;
    height: 100%;
}

.input-wrap .btn-bd button {
    width: 100%;
    height: 100%;
    border: 1px solid #ccc;
}

.list-bd {
    height: 100%;
    /*overflow: auto; 超出的范围加上滚动条 */
    overflow: auto;
}

.list-bd .list-item {
    position: relative;
    width: 100%;
    height: 40px;
    line-height: 40px;
    border-bottom: 1px solid #ddd;
}

.list-bd .list-item:nth-child(even) {
    background-color: #ddd;
}

.list-bd .list-item.active {
    background-color: rgb(181, 235, 227);
}

.list-bd .list-item:hover {
    background-color: rgb(181, 235, 227);
}

.list-bd .list-item .item-context {
    position: absolute;
    top: 0;
    left: 0;
    text-indent: 10px;
    width: 400px;
    height: 100%;
}

.list-bd .list-item .btn-wrap {
    margin-left: 400px;
    width: 100%;
}

.list-bd .list-item .edit,
.list-bd .list-item .delete {
    margin-right: 10px;
}